import java.util.Scanner;

public class CycleWhile {
    public static void easy(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt(), temp = 1;
        while (temp<=n){
            System.out.println(temp++);
        }
    }
    public static void cycleOfSquares(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt(), temp = 1;
        while (temp<=Math.sqrt(n)){
            System.out.println(temp*temp);
            temp++;
        }
    }
    public static void sumNumberOfZero(String[] args) {
        Scanner sc = new Scanner(System.in);
        int sum=0, input;
        while ((input = sc.nextInt()) != 0) {
            sum += input;
        }
        System.out.println(sum);
    }
    public static void outputNumberOfWords(String[] args) {
        Scanner sc = new Scanner(System.in);
        int sum=0;
        while (sc.hasNext()) {
            sc.next();
            sum++;
        }
        sc.close();
        System.out.println(sum);
    }
    public static void divOnEleven(String[] args) {
        Scanner sc = new Scanner(System.in);
        int sum = 0, iteration = 0;
        while (true) {
            int input = sc.nextInt();
            if (input % 11 != 0){break;}
            if (input % 3 == 0){sum+=input;}
            iteration++;
        }
        sc.close();
        System.out.println(iteration);
        System.out.println(sum);
    }

    public static void flipNumber(String[] args) {
        Scanner sc = new Scanner(System.in);
        long input = sc.nextLong();
        int iteration = 0, count = Long.toString(input).length();
        String newNumber = "";
        while (iteration < count) {
            newNumber += String.valueOf(input % 10);
            input/=10;
            iteration++;
        }
        System.out.println(newNumber);
    }

    public static void outputWordInBetween(String[] args) {
        Scanner sc = new Scanner(System.in);
        char d1 = sc.next().charAt(0), d2 = sc.next().charAt(0);
        String fullStr;
        while (sc.hasNext()){
            fullStr = sc.next();
            if (fullStr.charAt(0) >= d1 && fullStr.charAt(0) <= d2) {
                System.out.println(fullStr);
            }
        }
    }

}

